<?php
/**
 * <b>RUBIK IT Solution & Development ltd.</b>
 *
 * PROJECT		: Rubik Ultimate Framework
 * @version 	: 1.1
 * COPYRIGHT    : 2008
 * ------------------------------------------------------
 * 
 * [GENERAL INFO OF THIS FILE] 
 *
 * @author			Administrator <Administrator@rubik.com.vn>
 * @access			[public/private]
 * @package			[package name]
 *
 * Created on	: Nov 17, 2008
 */
defined ( '_FW_EXEC' ) or die ( 'Restricted access' );

RCoreImporter::cls( "security.IpDOSDetect" );
RCoreImporter::cls( "security.ImageProtector" );

session_start ();
ImageProtector::startProtect ();

include SYS_ROOT_PATH . "config/dosConfig.php";

$detector = new IpDOSDetect ( DOS_IP_MAX_REQUEST_LIMIT, DOS_IP_TIME_CHECK );
$detector->checkDOS ();
?>